const state = {
	sysRouteName: '',
	sysAllNames: [],
}

const mutations = {
	set_sysRouteName: (state, sysRouteName) => {
		state.sysRouteName = sysRouteName
	},
	set_sysAllNames: (state, sysAllNames) => {
		state.sysAllNames = sysAllNames
	},
}

const actions = {
	set_sysRouteName_fun({ commit }, sysRouteName) {
		commit('set_sysRouteName', sysRouteName)
	},
	set_sysAllNames_fun({ commit }, sysAllNames) {
		commit('set_sysAllNames', sysAllNames)
	},
}

export default {
	namespaced: true,
	state,
	mutations,
	actions,
}
